package com.itheima.demo1;

public class exercise19 {
    public static void main(String[] args) {
        //定义一个变量，记录山峰的高度
        double height = 8844430;
        //定义一个变量，记录纸张的初始厚度
        double paper = 0.1;
        //定义一个变量，用来统计次数
        int count = 0;

        while(paper < height){
            paper = paper * 2;
            count++;
        }
        System.out.println(count);
    }
}
